// pages/freeclass/index.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {
		navList: [{
				'icon': '../../img/nav@3x.png'
			},
			{
				'icon': '../../img/interests@3x.png'
			}, {
				'icon': '../../img/language@3x.png'
			}, {
				'icon': '../../img/early@3x.png'
			},
			{
				'icon': '../../img/professional@3x.png'
			}
		],
		promotionlist: [{
			"promotionId": "2",
			"limitPrice": "100.0",
			"discountPrice": "60.0",
			"uid": "6",
			"expire": "2019-04-30 00:00:00",
			"fromPromotionConfigId": "1",
			"created": "2019-04-11 18:37:12",
			"status": "0"
		}, {
			"promotionId": "2",
			"limitPrice": "100.0",
			"discountPrice": "60.0",
			"uid": "6",
			"expire": "2019-04-30 00:00:00",
			"fromPromotionConfigId": "1",
			"created": "2019-04-11 18:37:12",
			"status": "0"
		}], //优惠券列表
	},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function(options) {
console.log('options:',options);
	},

	/**
	 * 生命周期函数--监听页面初次渲染完成
	 */
	onReady: function() {

	},

	/**
	 * 生命周期函数--监听页面显示
	 */
	onShow: function() {

	},

	/**
	 * 生命周期函数--监听页面隐藏
	 */
	onHide: function() {

	},

	/**
	 * 生命周期函数--监听页面卸载
	 */
	onUnload: function() {

	},

	/**
	 * 页面相关事件处理函数--监听用户下拉动作
	 */
	onPullDownRefresh: function() {

	},

	/**
	 * 页面上拉触底事件的处理函数
	 */
	onReachBottom: function() {

	},

	/**
	 * 用户点击右上角分享
	 */
	onShareAppMessage: function() {

	}
})
